﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Asset
{
    public class EditorAsset<T> : Asset<T> where T : UnityEngine.Object
    {
        public EditorAsset(string name, IAsyncBundle bundle) : base(name, bundle)
        {

        }

        protected override void initialize()
        {
            this.result = this.Bundle.editorAsset as T;
            this.asyncStatus = AsyncStatus.Finish;
        }

        public override IEnumerator doLoad()
        {
            throw new NotImplementedException();
        }
    }
}
